<?php

use app\unify\middleware\Authority;
use app\unify\middleware\LoadUnifyConfig;
use app\unify\middleware\ResponsePackage;
use app\unify\middleware\AllowCrossDomain;
use app\unify\middleware\UserLog;

// 全局中间件定义文件
return [
    // 全局请求缓存
    // \think\middleware\CheckRequestCache::class,
    // 多语言加载
    // \think\middleware\LoadLangPack::class,
    // Session初始化
    // \think\middleware\SessionInit::class

    AllowCrossDomain::class,
    LoadUnifyConfig::class,
    ResponsePackage::class,
    Authority::class,
    UserLog::class
];
